package com.supply.dl.bean;

/**
 * 基础数据
 * <p>
 * Author: tian <br>
 * Time: 2018/7/2 11:05
 */
public class SelectDictionaryBean extends BaseBean {
    /**
     * 文本显示
     */
    private String text;  //仓库名称

    /**
     * 编码
     */
    private String code;

    /**
     * id或者code
     */
    private String value;

    /**
     * 当前项是否被选中
     */
    private boolean isChecked;


    public SelectDictionaryBean(String text, String code) {
        this.text = text;
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }


    public void setText(String text) {
        this.text = text;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }


    public SelectDictionaryBean(String text, String code, boolean isChecked) {
        this.text = text;
        this.code = code;
        this.isChecked = isChecked;
    }
}
